//
//  ApiPurchaseDetail.m
//  ios-supplier
//
//  Created by benlai002 on 16/3/28.
//  Copyright © 2016年 feynmanyuan. All rights reserved.
//

#import "ApiPurchaseDetail.h"

@implementation ApiPurchaseDetail

-(instancetype)initWithUt:(NSString *)ut andWithPurchaseID:(NSInteger)purchaseId{
    self = [super init];
    _ut = ut;
    _purchaseId = purchaseId;
    return self;
}
-(NSString *)requestUrl{
    return @"/opms-api/getPurchaseDetail.do";
}
-(id)requestArgument{
    return @{@"ut":_ut,
             @"purchaseId":@(_purchaseId)
             };
}
@end
